<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <title>JSP - Hello World</title>
</head>
<body>
<h1>你好
</h1>
<br/>
    <form action = "regist" method="post">
        账号：<input type="text" name="username" id=""/><br>
        密码：<input type="password" name="pwd"/><br>
        性别：<input type="radio" name="gender" value="m"/>男
        <input type="radio" name="gender" value="f"/>女
        爱好：<input type="checkbox" name="hobby" value="book"/>读书
        <input type="checkbox" name="hobby" value="game"/>游戏
        <input type="checkbox" name="hobby" value="sleep"/>睡觉
        籍贯：
        <select name="home">
            <option value="hebei">河北</option>
            <option value="sichuan">四川</option>
        </select>
        <input type="submit" value="注册"/>
    </form>

</body>
</html>